package com.hz.rouyigonggong.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.HashMap;
import java.util.Map;

/**
 * @author guo
 * @description 卖家出库订单表
 * @date 3/4 18:00
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LgOutOrder  {
  @TableId(value ="id" ,type = IdType.AUTO )
  private Integer id;
  private Integer stockOrderNumber;
  private Integer sellerId;
  private Integer goodsId;
  private Integer unit;

  public Timestamp getOutTime() {
    return outTime;
  }

  public void setOutTime(Timestamp outTime) {
    this.outTime = outTime;
  }

  //出库时间
  private Timestamp outTime;
  private Double outWeight;
  private Double outVolume;
  private Integer outQuantity;
  private String buyerPhone;
  private String buyerName;
  private String inspector;
  private String originAddress;
  private Double addressX;
  private Double addressY;
  private String destinationAddress;
  private Double destinationX;
  private Double destinationY;
  private Integer needVehicle;
  private String customerSign;
  private Integer orderStatus;
//  private String orderTime;
  private Double deliveryAmount;
  private Double distance;
  private String buyerSign;
  private String createBy;
  private String updateBy;
  private String createTime;
  private String updateTime;
  @TableLogic
  private Integer deleteStatus;
  @TableField(exist = false)
  private Map<String, Object> params = new HashMap<>();


  public Integer getStockOrderNumber() {
    return stockOrderNumber;
  }

  public void setStockOrderNumber(Integer stockOrderNumber) {
    this.stockOrderNumber = stockOrderNumber;
  }
}
